package com.diors.game.engine.arpg.fight.attr.object;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

import com.diors.game.engine.arpg.fight.attr.AttrEnum;

/**
 * 属性Model
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013-10-29
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
@XmlRootElement(name = "attr")
@XmlAccessorType(XmlAccessType.FIELD)
public class AttrModel 
{
	
	@XmlAttribute(name = "type")
	private AttrEnum attr;
	
	@XmlAttribute(name = "value")
	private int value;

	public AttrEnum getAttr() {
		return attr;
	}

	public int getValue() {
		return value;
	}
}
